/**
*  Author: Magnus Hemmer Pihl
*  Student number: 5452
*
*  Assignment 2
*  16/9-2007
**/

#include "List.h"
#include <iostream>
#include <cstdlib>

using namespace std;

void main()
{
    List<int> a;
    a.push(7);
    a.push(4);
    a.push(5);
    a.push(1);
    a.push(9);
    a.push(2);
    a.push(2);
    a.push(6);
    cout << a << endl;
    a.selectionSort();
    cout << a << endl;
    
    system("PAUSE");
}